package opensearch_remote

import "context"

type OpenSearchRepositoryIface interface {
	// GetRadarList 获取省市雷达列表数据
	GetRadarList(ctx context.Context, request *GetRadarListRequest) (*GetRadarListData, error)
	// GetRadarContact 获取省市雷达列表的联系人
	GetRadarContact(ctx context.Context, request *GetRadarContactRequest) ([]*GetRadarContactData, error)
	// GetContactList 获取联系人列表接口
	GetContactList(ctx context.Context, request *GetContactListRequest) (*GetContactListData, error)
	// GetDeveloperScore 获取好客户得分
	GetDeveloperScore(ctx context.Context, request *GetCustomerScoreRequest) ([]*GetCustomerScoreData, error)
	// GetCooperationList 获取合作单位联系人列表
	GetCooperationList(ctx context.Context, request *GetCooperationListRequest) (*GetCooperationListData, error)
	// GetCustomerList 获取客户列表数据
	GetCustomerList(ctx context.Context, request *GetCustomerListRequest) (*GetCustomerListData, error)
	// GetCustomerDetail 获取客户详情
	GetCustomerDetail(ctx context.Context, request *GetCustomerDetailRequest) ([]*CustomerDetail, error)
	// FuzzySearch 模糊搜索公司名
	FuzzySearch(ctx context.Context, request *FuzzySearchRequest) ([]*FuzzySearchItem, error)
	// GetProjectList 搜索项目(合并)
	GetProjectList(ctx context.Context, request *GetProjectListRequest) (*GetProjectListData, error)
	FuzzySearchProject(ctx context.Context, request *FuzzySearchProjectRequest) ([]*FuzzySearchProjectItem, error)
	// SearchBid 搜索招中标(合并)
	SearchBid(ctx context.Context, request *SearchBidRequest) (*SearchBidData, error)
	FuzzySearchBid(ctx context.Context, request *FuzzySearchBidRequest) ([]*FuzzySearchBidItem, error)
	// SaleList 开盘列表
	SaleList(ctx context.Context, request *SaleListRequest) (*SaleListData, error)
	// BuildList 在建项目列表
	BuildList(ctx context.Context, request *BuildListRequest) (*BuildListData, error)
	// TakeLandList 拿地列表
	TakeLandList(ctx context.Context, request *TakeLandListRequest) (*TakeLandListData, error)
}
